package com.njtoyo.taxi.admin.mapper.master.enums.driverNotifyMessage;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum Scope {
    all(0, "全部"),
    region(1, "运营区"),
    company(2, "公司");

    @EnumValue
    private final int code;
    private final String desc;

    Scope(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
